<%
var containerParam = {
	title: '从者管理',
	currentMenu: 'servantMgr',
	jsArray: [ctxPath + '/js/servant/list.js'],
	breadcrumbMap: {
		'首页': ctxPath + '/',
		'从者管理': null
	}
};
layout('/common/_website_container.html', containerParam){
%>
<div class="layui-card">
	<div class="layui-form layui-card-header padding-vertical-15 height-auto">
		<div class="layui-form-item margin-bottom-0">
			<#searchinput label="名称" name="name"/>
			<#searchsubmit/>
		</div>
	</div>
	<div class="layui-card-body">
		<table id="table"></table>
	</div>
</div>

<!-- 底部栏 start -->
<% layout('/common/_website_footer.html'){} %>
<!-- 底部栏 end -->

<script id="tableToolbar" type="text/html">
	<div class="layui-btn-container">
		<button type="button" class="layui-btn" lay-event="add">添加</button>
		<button type="button" class="layui-btn" lay-event="delete">删除</button>
	</div>
</script>
<script id="rowToolbar" type="text/html">
	<a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit">
		<i class="layui-icon layui-icon-edit"></i>编辑
	</a>
	<button type="button" class="layui-btn layui-btn-normal layui-btn-xs more" data-id="{{d.id}}">
		更多操作 <span class="layui-icon layui-icon-triangle-d inline-block transition margin-right-0"></i>
	</button>
	<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">
		<i class="layui-icon layui-icon-delete"></i>删除
	</a>
</script>
<script id="moreTpl" type="text/html">
	<ul>
		<li><a href="white?id={{d}}">白值设定</a></li>
		<li><a href="item?id={{d}}">从者素材管理</a></li>
	</ul>
</script>
<% } %>
